package com.aizuda.boot.modules.business.contract.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName ContractTypeTree
 * @Version 1.0
 * @Date 2025/6/4 13:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同类型树")
public class ContractTypeTree {

    @Schema(description = "合同类型id")
    private Integer id;

    @Schema(description = "合同类型名称")
    private String name;

    @Schema(description = "合同类型父id")
    private Integer parentId;

    @Schema(description = "合同类型子节点")
    private List<ContractTypeTree> children;
}
